<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册</title>
    <link rel="icon" href="../img/favicon.ico" type="image/x-icon">
    <!-- 在网页标题左侧显示图标 -->
    <link rel="shortcut icon" href="./img/favicon.svg" type="image/x-icon">
    <!-- 在收藏夹显示图标 -->
    <link rel="stylesheet" href="./css/zhuce.css">
    <script src="./js/jquery-3.6.0.js"></script>
    <script src="./js/zhuce.js"></script>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/5.1.3/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>
    <div class="big2">
        <div class="center">
            <div class="head">
                <div class="title">欢迎注册</div>
                <div class="login" onclick="login()">登录</div>
            </div>
            <form action="zhuce.php" method="post" class="name">

            <input type="text" name="user_pet" id="input0" placeholder="昵称" value="">
                <div class="p">
                    <p style="display:none" class="error" id="error0">不能为空</p>
                    <p style="display:none" class="prompt" id="prompt0">1-10个字符</p>
                </div>

                <input type="text" name="user_name" id="input1" placeholder="账号" value="">
                <div class="p">
                    <p style="display:none" class="error" id="error1">账号格式错误</p>
                    <p style="display:none" class="prompt" id="prompt1">6-18个字符,可以是数字，字母下划线，需要以字母开头</p>
                </div>

                <input type="password" name="user_pwd" id="input2" placeholder="密码" value="">
                <div class="p">
                    <p style="display:none" class="error" id="error2">密码格式错误</p>
                    <p style="display:none" class="prompt" id="prompt2">8-16个字符，可以字母或数字</p>
                </div>

                <input type="password" id="input20" placeholder="密码" value="">
                <div class="p">
                    <p style="display:none" class="error" id="error20">两次密码输入不一致</p>
                    <p style="display:none" class="prompt" id="prompt20">请确认密码</p>
                </div>

                <input type="text" name="user_phone" id="input3" placeholder="手机号码" value="">
                <div class="p">
                    <p style="display:none" class="error" id="error3">请填写正确的中国大陆地区手机号</p>
                    <p style="display:none" class="prompt" id="prompt3">可通过该手机号找回密码</p>
                </div>

                <button type="submit" > 立即注册</button>

            </form>
        </div>

        <script>
            function login() {
                window.location.href = "index.php";
            }
        </script>
</body>

</html>